﻿using System;
using System.Collections.Generic;
using System.Text;
using ThoughtWorks.CruiseControl.Core.Tasks;
using System.Reflection;
using System.IO;

namespace AdvancedInstallerTestApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            string aipFile = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "test.aip");
            AdvancedInstaller ai = new AdvancedInstaller(aipFile);

            ai.IncrementVersion();
            string appDir = ai.GetProperty("ProductName");
            ai.Build();
        }
    }
}
